package com.lfz.quality_effect.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lfz.quality_effect.model.entity.TCollectionBalanceCopy;
import com.lfz.quality_effect.model.vo.EleScoreRankVO;

import java.util.List;
import java.util.Map;

public interface TCollectionBalanceCopyMapper extends BaseMapper<TCollectionBalanceCopy> {
    String getMaxTime();

    /**
     * 获取民商事结案率趋势图
     * @param paramMap
     * @return
     */
    List<EleScoreRankVO> getCivilTrend(Map<String, Object> paramMap);


    /**
     * 获取总结案率趋势图
     * @param paramMap
     * @return
     */
    List<EleScoreRankVO> getTotalTrend(Map<String, Object> paramMap);

    /**
     * 获取标准法院
     * @param paramMap
     * @return
     */
    List<EleScoreRankVO> getStandardCourt(Map<String, Object> paramMap);

    List<EleScoreRankVO> getTotalStandardCourt(Map<String, Object> paramMap);

    void updateCivilRate(Map<String, Object> paramMap);

    void updateTotalRate(Map<String, Object> paramMap);
}
